package com.example.ui.contact.bean;

import com.example.net.NetContact;


/**
 * 系统通知
 * @author Leone
 *
 */
public class NoticeItem implements Comparable<NoticeItem> {
	private String response;
	private String content;
	private String dateLine;

	private long time;// 消息日期	
	public NoticeItem(){
		
	}
	
	public String getResponse(){
		return response;
	}
	public void setResponse(String response){
		this.response = response;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}
	
	public String getDateLine(){
		return dateLine;
	}
	public void setDateLine(String dateLine){
		this.dateLine = dateLine;
	}


	@Override
	public int compareTo(NoticeItem another) {
		// Long.parseLong(id)
		return (int) (Integer.parseInt(another.dateLine) 
				- Integer.parseInt(this.dateLine));
	}	
}
